Synchronously rename the file or directory, erring if a file or directory already exists with the new name